#include <stdio.h>

int main()
{
	int a = 0x87654321;

	printf("%x\n", a & 0xFF);
	
	printf("%x\n", a ^ ~0xFF);

	printf("%x\n", a | 0xFF);


	return 0;
}
